package cn.rkylin.oms.ext.cainiao.stockin.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class StockinType {

    /**
     * serialVersionUID:序列号号.
     */
    private static final long serialVersionUID = -1200365722127135436L;


    private Long id;

    /**
     * 入库类型编码
     */
    private String typeCode;

    /**
     * 入库类型名称
     */
    private String typeName;

    /**
     * 是否移动加权计算 y:移动加权计算;n:不移动加权计算,但取即时成本价
     */
    private String isMoving;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private String deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode == null ? null : typeCode.trim();
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName == null ? null : typeName.trim();
    }

    public String getIsMoving() {
        return isMoving;
    }

    public void setIsMoving(String isMoving) {
        this.isMoving = isMoving == null ? null : isMoving.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted == null ? null : deleted.trim();
    }
}